package cn.tedu.store.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Supplies implements Serializable {

    private String itemCode;
    private String itemName;
    private String specs;
    private String spellCode;
    private String minUnit;
    private String packUnit;
    private String salePrice;
    private String isDelete;
    private int countNumber;
    private String repairApplyId;
    //总价
    private int countPrice;
    //时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date suppliesDate;
}
